﻿using System.Web.UI;

namespace N2.Templates.Web.UI
{
	using N2.Web.UI;
	
	public static class PageExtensions
	{
		public static void ApplyTemplatesModifications<ItemType>(this ContentPage<ItemType> page)
			where ItemType : ContentItem
		{
			page.Engine.Resolve<IPageModifierContainer>().Modify(page);
		}
	}
}
